//
//  DnPhotoGridView.h
//  DnPhotoGallery	
//
//  Created by Ngoc on 12/12/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ATPagingView.h"
#import "DnPhotoViewCell.h"
#import "DnPhotoViewPage.h"

@protocol DnPhotoGridViewDelegate;
@protocol DnPhotoGridViewDatasource;

@interface DnPhotoGridView : UIView {
    ATPagingView *_pagingView;
    id <DnPhotoGridViewDelegate> _delegate;
    id<DnPhotoGridViewDatasource> _datasource;
}
@property(nonatomic, retain) id<DnPhotoGridViewDelegate> delegate;
@property(nonatomic, retain) id<DnPhotoGridViewDatasource> datasource;
@property(nonatomic, retain) ATPagingView *pagingView;
-(void) reloadData;
@end

@protocol DnPhotoGridViewDelegate <NSObject>



@end

@protocol DnPhotoGridViewDatasource <NSObject>
//- (UIView *)gridView:(DnPhotoGridView*) gridView pageAtPageIndex:(NSInteger) pageIndex;
//- (NSInteger)numberOfPagesInGridView:(DnPhotoGridView *)gridView;

@end